Skip to main content
Claude function calling and tool use

What is Tool Use

Tool Use (also called function calling) allows Claude to interact with external tools, APIs, and data sources. Claude doesn’t execute tools directly—it generates structured requests that your application executes.

How It Works

  1. Define tools with names, descriptions, and input schemas
  2. Claude identifies when a tool is needed
  3. Claude generates a tool use request (JSON)
  4. Your app executes the tool
  5. Return result to Claude
  6. Claude responds with the final answer

Basic Example

More Resources

Tool Use Documentation

Complete guide on defining tools and handling responses